<div class="networks form">
<?php echo $this->Form->create('Network');?>
	<fieldset>
 		<legend><?php __('Add Network'); ?></legend>
	<?php
		if($this->params['pass']==null){
		echo $this->Form->input('computer_id');}
                else {
                    echo $this->Form->hidden('computer_id', array('value' => $this->params['pass']['0']));}
		echo $this->Form->input('name');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>